import axios from 'axios'
export const getlist=(params)=>axios.get('/list',{params})//获取
export const add=(params)=>axios.post('/add',params)//添加
export const detele=(params)=>axios.post('/detele',params)//删除
export const editor=(params)=>axios.post('/editor',params)//修改
export const login=(params)=>axios.post('/login',params)//登录
export const regis=(params)=>axios.post('/regis',params)//注册